package org.example.service.impl;

import org.example.domain.Dept;
import org.example.service.DeptService;
import org.example.mapper.DeptMapper;
import org.example.vo.DeptVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 19816
* @description 针对表【sys_dept】的数据库操作Service实现
* @createDate 2024-05-22 20:19:41
*/
@Service
public class DeptServiceImpl implements DeptService{

    @Autowired
    private DeptMapper deptMapper;
    @Override
    public List<DeptVo> listAll() {
        return deptMapper.listAll();
    }
}




